package com.zhz.common.tool.email.annotation;

import com.zhz.common.tool.email.autoconfig.JavaMailSenderAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用邮件
 *
 * @author zhouhengzhe
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(JavaMailSenderAutoConfiguration.class)
public @interface EnableEmail {

}